
#ifndef __SIGNING_KEY_H
#define __SIGNING_KEY_H

#include "Key.h"

/** Interface to the key, describing using a key for signing (vouching for
 * the origin of some data). */
class SigningKey : public virtual Key
{
   public:
      /** Gets a cryptlib context for generating signatures which has the key
       * loaded into it. */
      virtual int getCryptlibSigningContext(CRYPT_CONTEXT *keycontext) = 0;
};

#endif
